use serde::Deserialize;


#[derive(Debug,Deserialize, PartialEq, Eq)]
pub struct Response{
    pub status: bool
}

impl Response{
    pub fn new() ->Self {
        Response { status: false }
    }

    pub fn is_permited(&self) -> bool{
        self.status
    }
}